package day06;
//import java.util.Scanner;
public class TopStack {
	public static void main(String[] args) {
		//Scanner sca=new Scanner(System.in);
		//System.out.println("请输入该数组的元素的个数：");
		//int a=sca.nextInt();
		MyStack ms=new MyStack(10);
		ms.push("hello");
		ms.push("haha");
		ms.push("hehe");
		System.out.println(ms.toString());
		ms.pop();
		ms.pop();
		System.out.println(ms.toString());
	}

}
